<?php

namespace bee;

interface ISubject 
{ public function attach(observer $observer);
  public function detach(observer $observer);
  public function notify();
}

interface IObserver 
{ public function update(ISubject $subject);
}

class subject extends object implements ISubject
{ private $__observers = array();

}